package com.xiaoye.qbdatahandle.service;

import com.xiaoye.qbdatahandle.domian.QbSubjectArticle;
import com.xiaoye.qbdatahandle.dto.QbSubjectArticleMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class QbSubjectArticleService {
    @Autowired
    QbSubjectArticleMapper qbSubjectArticleMapper;

    public QbSubjectArticle getById(String id) {
        return qbSubjectArticleMapper.findById(id).get();
    }
}
